
<div class="tableform">
<h4>退货单详情</h4>
<form action='index.php?app=ome&ctl=admin_return_rchange&act=update_reship&p[0]=<{$detail.reship_id}>' method='post' >
<div class="division">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th><{t}>退货单号：<{/t}></th>
    <td><{$detail.reship_bn}></td>
    <th><{t}>订单号：<{/t}></th>
    <td><{$detail.order_bn}></td>
    <th><{t}>配送方式：<{/t}></th>
    <td><{$detail.delivery|default:'-'}></td>
    <th><{t}>操作员：<{/t}></th>
    <td><{$detail.op_name}></td>
  </tr>
  
  <tr>
    <th><{t}>物流费用：<{/t}></th>
    <td><{$detail.money}></td>
    <th><{t}>是否保价：<{/t}></th>
    <td><{if $detail.is_protect}>是<{else}>否<{/if}></td>
    <th><{t}>物流公司：<{/t}></th>
    <td><{$detail.logi_name}></td>
    <th><{t}>物流单号：<{/t}></th>
    <td><{$detail.logi_no}></td>
  </tr>
  
    <tr>
    <th><{t}>收货人：<{/t}></th>
    <td><{$detail.ship_name}></td>
    <th><{t}>收货地区：<{/t}></th>
    <td><{$detail.ship_area}></td>
    <th><{t}>收货地址：<{/t}></th>
    <td><{$detail.ship_addr}></td>
    <th><{t}>收货邮编：<{/t}></th>
    <td><{$detail.ship_zip}></td>
  </tr>
  
  <tr>
    <th><{t}>电话：<{/t}></th>
    <td><{$detail.ship_tel}></td>
    <th><{t}>手机：<{/t}></th>
    <td><{$detail.ship_mobile}></td>
    <th><{t}>收货人Email：<{/t}></th>
    <td><{$detail.ship_email}></td>
    <th><{t}>生成时间：<{/t}></th>
    <td><{$detail.t_begin|cdate:SDATE_FTIME}></td>
  </tr>

  <tr>
    <th><{t}>审核状态：<{/t}></th>
    <td><{$detail.is_check}></td>
    <th><{t}>退回物流单号：<{/t}></th>
    <td><{input type="text" name="return_logi_no" value=$detail.return_logi_no}></td>
    <th><{t}>退回物流公司名称：<{/t}></th>
    <td>
    <{input type="object" name="return_logi_name" value=$detail.return_logi_id mdl_object="ome_mdl_dly_corp" cols="name" object="dly_corp" app="ome" filter="d_type=1" style="width:120px" }>
    </td>
    <th><{t}>退换货状态：<{/t}></th>
    <td><{if $detail.return_type == 'return'}><{t}>退货<{/t}><{else}><{t}>换货<{/t}><{/if}></td>
  </tr>

  <{if $detail.problem_name}>
    <tr>
      <th>售后问题类型：</th>
      <td><{$detail.problem_name}></td>
    </tr>
  <{/if}>
</table>

</div>

<div class="tableform">
<table cellspacing="0" cellpadding="0" border="0" class="gridlist">
<tr>
    <td><b><{t}>申请内容：<{/t}></b><{$detail.content}></td>
  </tr>
  <tr>
    <td><b><{t}>售后答复：<{/t}></b><{$detail.return_memo}></td>
  </tr>
  <tr>
    <td><b><{t}>退货备注：<{/t}></b><{$detail.memo}></td>
  </tr>
  <tr>
    <td><b><{t}>审核备注：<{/t}></b><{$detail.check_memo}></td>
  </tr>
  
</table>
</div>
<div class='tableAction' style='text-align:center;'>
  <{button label='保存' type='button' onclick='W.page(this.form.action,{data:this.form});'}>
</div>
 </form>
 


  <div class="division">
    <{foreach from=$items key=return_type item=aProduct }>
      <h4><{t}><{if $return_type=='return'}>退<{elseif $return_type=='change'}>换<{/if}>货明细:<{/t}></h4>

      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="gridlist">
        <thead>
        <tr>
          <th><{t}>基础物料编码<{/t}></th>
          <th><{t}>物品类型<{/t}></th>
          <th><{t}>基础物料名称<{/t}></th>
          <th><{t}>规格<{/t}></th>
          <th><{t}>退货量<{/t}></th>
          <th><{t}>良品<{/t}></th>
          <th><{t}>不良品<{/t}></th>
        </tr>
        </thead>
   <{foreach from=$aProduct item=aProducts}>
   <tr>
         <td><{$aProducts.bn}></td>
        <td><{if $aProducts.item_type == 'gift'}><{t}>礼品<{/t}><{else}><{t}>商品<{/t}><{/if}></td>

        <td><{$aProducts.product_name}></td>
        <td><{$aProducts.specifications}></td>
        <td><{$aProducts.num}></td>
         <td><{$aProducts.normal_num}></td>
          <td><{$aProducts.defective_num}></td>
        </tr>
        <{/foreach}>
    </table>
  
  
   <{/foreach}>
  



 </div>
 
